
/**************************** (C) COPYRIGHT 2015 Fortiortech shenzhen *****************************
* File Name          : TimerInit.h
* Author             : Fortiortech  Market Dept
* Version            : V1.0
* Date               : 01/07/2015
* Description        : This file contains all the common data types used for Motor Control.
***************************************************************************************************
* All Rights Reserved
**************************************************************************************************/ 

#ifndef __TIMERINIT_H_
#define __TIMERINIT_H_

#include <FU68xx_4_Type.h>

//#define TIM0_Fre                       (24000000.0)                              // TIM0计数频率24MHz
//#define TIM1_Fre                       (750000.0)                                // TIM0计数频率750KHz
//#define TIM2_Fre                       (750000.0)                              // TIM0计数频率24MHz
//#define TIM3_Fre                       (6000.0)                                // TIM0计数频率750KHz
//#define TIM3_Fre                       (3000.0)                                // TIM0计数频率750KHz
//#define TIM3_Fre                       (3000.0)                                // TIM0计数频率750KHz
/* 应用 1500.0 */
//#define TIM3_Fre                       (1500.0)                                // TIM0计数频率750KHz
#define TIM4_Fre                       (750000.0)                              // TIM0计数频率24MHz

extern void TIM4_Init(void);
extern void TIM1ms_Init(void);
extern void TIM3_Init_RF(void);

#endif
